﻿
namespace Marmat.Forms.Views
{
    namespace GridControl
    {
        public class CustomColumnDisplayTextEventArgs : GridEventArgs
        {
            private Grid.CustomColumnDisplayTextEventArgs _args;

            public CustomColumnDisplayTextEventArgs(Forms.GridControl gridControl, Grid.CustomColumnDisplayTextEventArgs args) : base(gridControl)
            {
                this._args = args;
            }

            public Grid.Column Column
            {
                get
                {
                    return this._args.Column;
                }
            }

            public string DisplayText
            {
                get
                {
                    return this._args.DisplayText;
                }

                set
                {
                    this._args.DisplayText = value;
                }
            }

            public object Value
            {
                get
                {
                    return this._args.Value;
                }
            }

            public object Row
            {
                get
                {
                    return this._args.Row;
                }
            }
        }
    }
}